<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/includes.jsp"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE html>
<html>
<head>
<title>CMP System</title>
<meta charset="utf-8">
<meta name="description" content="CMP System" />
<link rel="stylesheet" type="text/css"
	href="<spring:url value="/static/css/themes/default/easyui.css" />">
<link rel="stylesheet" type="text/css"
	href="<spring:url value="/static/css/themes/icon.css" />">
	
<style type="text/css">

.easyui-accordion ul {
	list-style-type: none;
	margin: 0px;
	padding: 10px;
}

.easyui-accordion ul li {
	padding: 0px;
}

.easyui-accordion ul li a {
	line-height: 24px;
}

.easyui-accordion ul li div {
	margin: 2px 0px;
	padding-left: 10px;
	padding-top: 2px;
}
/**
.easyui-accordion ul li div.hover {
	border: 1px dashed #99BBE8;
	background: #E0ECFF;
	cursor: pointer;
}

.easyui-accordion ul li div.hover a {
	color: #416AA3;
}

.easyui-accordion ul li div.selected {
	border: 1px solid #99BBE8;
	background: #E0ECFF;
	cursor: default;
}

.easyui-accordion ul li div.selected a {
	color: #416AA3;
	font-weight: bold;
}
.accordion .accordion-header-selected {
  background: #E0ECFF;
}
**/
</style>
</head>
<body class="easyui-layout">


	<div data-options="region:'north',border:false"
		style="height: 60px; background: #D2E0F2; padding: 10px">
		<span style="font-size: 24px">CMP System</span>
		<div style="float: right;font-size: 16px">Welcome: ${USERNAME} &nbsp;<a href="<%=path%>/logout">Log out</a></div>
	</div>

	<div region="west" split="true" title="Hide Menu"
		style="width: 180px; overflow: hidden;" icon="icon-redo">
		<div id="menu" class="easyui-accordion" fit="true" border="false">
			<div title="游戏信息管理" style="overflow: auto; padding: 10px;"
				icon="icon-edit">
				<div>
					<ul>
						<li><div><a target="mainFrame_CP Info" href="<%=path%>/cpinfo/cpinfo">CP Info</a></div></li>
						<li><div><a target="mainFrame_App Info" href="<%=path%>/appinfo/appinfo">App Info</a></div></li>
						<li><div><a target="mainFrame_Pay Point" href="<%=path%>/paypoint/paypoint">Pay Point</a></div></li>
						<li><div><a target="mainFrame_Channel" href="<%=path%>/channel/channel">Channel</a></div></li>

					</ul>
				</div>
			</div>
			
			<div title="代码资源管理" style="overflow: auto; padding: 10px;"
				icon="icon-edit">
				<div>
					<ul>
						<li><div><a target="mainFrame_SP Info" href="<%=path%>/spinfo/spinfo">SP Info</a></div></li>
						<li><div><a target="mainFrame_Sp Code" href="<%=path%>/spcode/spcode">Sp Code</a></div></li>
<%-- 						<li><div><a target="mainFrame_SP Code Province" href="<%=path%>/spcodeprovince/spcodeprovince">SP Code Province</a></div></li> --%>
						<li><div><a target="mainFrame_SP Code Percent" href="<%=path%>/spcodepercent/spcodepercent">SP Code Percent</a></div></li>
						<li><div><a target="mainFrame_APK Info" href="<%=path%>/apkinfo/apkinfo">APK Info</a></div></li>
					</ul>
				</div>
			</div>
			
		    <div title="报表统计管理" style="overflow: auto; padding: 10px;"
				icon="icon-edit">
				<div>
					<ul>
						<li><div><a target="mainFrame_新增用户合计" href="<%=path%>/report/appInitReport">新增用户合计</a></div></li>
						<li><div><a target="mainFrame_省份请求合计" href="<%=path%>/report/provinceRequestReport">省份请求合计</a></div></li>
						<li><div><a target="mainFrame_游戏请求合计" href="<%=path%>/report/appCodeRequestReport">游戏请求合计</a></div></li>
						<li><div><a target="mainFrame_代码转化率合计" href="<%=path%>/report/spCodeTransferReport">代码转化率合计</a></div></li>
					</ul>
				</div>
			</div>
			
		</div>
	</div>
	
	<div region="center" id="mainFrame"
		style="background: #eee;">
		<div id="tabs" class="easyui-tabs" fit="true" border="false">
			<div title="Welcome" style="padding: 20px;" id="home">
				<h1>Welcome to CMP system...</h1>
			</div>
		</div>
	</div>


    <div region="south" style="height: 20px; background: #D2E0F2;">
        <div style="text-align: center; font-weight: bold">
            CMP Systems, Inc. CMP Confidential</div>
    </div>
<%@ include file="/WEB-INF/view/footer.jsp"%>